﻿using System.Xml.Serialization;
using System;
using System.Runtime.Serialization;

namespace PersonProject
{
    [Serializable, DataContract]
    public class Adress
    {
        public Adress()
        {
            string NoInfo = "Not Entered";
            Country = NoInfo;
            City = NoInfo;
            Street = NoInfo;
            House = NoInfo;
            Room = NoInfo;
        }

        [XmlAttribute, DataMember]
        public string Country { get; set; }
        [XmlAttribute, DataMember]
        public string City { get; set; }
        [XmlAttribute, DataMember]
        public string Street { get; set; }
        [XmlAttribute, DataMember]
        public string House { get; set; }
        [XmlAttribute, DataMember]
        public string Room { get; set; }
    }
}
